.container {
  position: relative;
  height: 300px;
  overflow-y: auto;
}

.wrapper h2 {
  margin-top: 0;
}

.wrapper ul {
  list-style: none;
  padding: 0;
}

.wrapper li {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 10px 0;
  border-bottom: 1px solid #ddd;
}

.wrapper li:last-child {
  border-bottom: none;
}

.wrapper button {
  padding: 5px 10px;
  background-color: #3490de;
  border: none;
  color: white;
  text-align: center;
  text-decoration: none;
  display: inline-block;
  font-size: 14px;
  margin: 4px 2px;
  cursor: pointer;
  border-radius: 5px;
}

.wrapper button:hover {
  background-color: rgba(52, 144, 222, .8);
}

.wrapper button[onclick="clearHistory()"] {
  margin-top: 10px;
  position: absolute;
  right: 20px;
  top: 20px;
}

/* 模态弹窗样式 */
.modal {
  position: fixed;
  z-index: 1;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  overflow: auto;
  background-color: rgba(0, 0, 0, 0.4);
  display: flex;
  justify-content: center;
  align-items: center;
}

.modal-content {
  position: absolute;
  left: 52%;
  top: 50%;
  transform: translate(-50%, -50%);
  background-color: #fefefe;
  padding: 25px;
  border: 1px solid #888;
  width: 700px;
  height: 400px;
  margin: 0 auto;
  overflow-y: auto;
  word-wrap: break-word;
}

.close {
  position: absolute;
  top: 10px;
  right: 10px;
  font-size: 28px;
  font-weight: bold;
  cursor: pointer;
  color: black;
}

.close:hover,
.close:focus {
  text-decoration: none;
  outline: none;
}


.modal .time {
  display: none;
}

.modal-content p {
  margin: 0 0 10px;
}

.modal-content .original,
.modal-content .translation {
  font-size: 16px;
  line-height: 1.5;
}

.modal-content .original {
  margin-bottom: 10px;
}

.OTtext{
  margin-bottom: 15px;
}